package com.hmall.search.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@ConfigurationProperties(prefix = "es")
@Data
@Component
public class EsProperties {
    private String ip;
    private String port;
}
